package com.ruoyi.active.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商家提现记录对象 cf_drawal
 * 
 * @author ruoyi
 * @date 2024-06-04
 */
public class CfDrawal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 门店 */
    @Excel(name = "门店")
    private Long cfShopId;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private Double money;

    /** 核销时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "核销时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date verificationTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 银行类型 */
    @Excel(name = "银行类型")
    private Long type;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private Long card;

    /** 持卡人姓名 */
    @Excel(name = "持卡人姓名")
    private String cardName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCfShopId(Long cfShopId) 
    {
        this.cfShopId = cfShopId;
    }

    public Long getCfShopId() 
    {
        return cfShopId;
    }
    public void setMoney(Double money)
    {
        this.money = money;
    }

    public Double getMoney()
    {
        return money;
    }
    public void setVerificationTime(Date verificationTime) 
    {
        this.verificationTime = verificationTime;
    }

    public Date getVerificationTime() 
    {
        return verificationTime;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setCard(Long card) 
    {
        this.card = card;
    }

    public Long getCard() 
    {
        return card;
    }
    public void setCardName(String cardName) 
    {
        this.cardName = cardName;
    }

    public String getCardName() 
    {
        return cardName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cfShopId", getCfShopId())
            .append("money", getMoney())
            .append("verificationTime", getVerificationTime())
            .append("state", getState())
            .append("type", getType())
            .append("card", getCard())
            .append("cardName", getCardName())
            .toString();
    }
}
